<template>
  <div class="deal">
    <div class="shop_car" @click="show = false">
      <div class="close"></div>
      <div class="boom">
        <div class="card">
          <img src="../../../assets/basket@3x.png" alt="" />
        </div>
        <div class="shopnum">
          <div class="cardnum">
            <p>购物车</p>
          </div>
          <div class="settlement">
            <p>去结算</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>

</script>

<style lang="scss" scoped>
.deal {
  width: 100%;
  height: 4rem;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
.shop_car {
  position: relative;
  display: flex;
  justify-content: space-between;
  position: fixed;
  left: 0;
  bottom: 0;
  margin-top: 0.16rem;
  width: 100%;
  height: 2.3rem;
  background-color: antiquewhite;
  z-index: 99;

  .boom {
    display: flex;
    justify-content: space-between;
    position: absolute;
    left: 0;
    bottom: 0;
    margin-top: 0.16rem;
    width: 100%;
    height: 0.49rem;
    z-index: 99;

    .card {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 0.76rem;
      height: 0.49rem;

      img {
        width: 0.28rem;
        height: 0.26rem;
      }
    }

    .shopnum {
      display: flex;
      justify-content: center;
      width: 3.2rem;
      height: 0.49rem;

      .cardnum {
        font-size: 0.12rem;
        line-height: 0.49rem;
        margin-right: 0.2rem;
        width: 2rem;
        height: 0.49rem;
      }

      .settlement {
        text-align: center;
        line-height: 0.49rem;
        color: white;
        font-size: 0.14rem;
        width: 1rem;
        height: 0.49rem;
        background-color: #4fb0f9;
      }
    }
  }
}

.close {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.3rem;
  background-color: #4fb0f9;
}
</style>